package com.tao.extend_.improve_;

import com.tao.extend_.Graduate;
import com.tao.extend_.Pupil;

public class Extends01 {
    public static void main(String[] args) {
    com.tao.extend_.Pupil pupil = new Pupil();
        pupil.name = "银角大王";
        pupil.age = 11;
        pupil. testing();
        pupil.setScore(50);
        pupil.ShowInfo();

        com.tao.extend_.Graduate graduate = new Graduate();
        graduate.name = "金角大王";
        graduate.age = 23;
        graduate.testing();
        graduate.setScore(80);
        graduate.ShowInfo();
    }
}
